package com.his.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * (ApplyOut)实体类
 *
 * @author makejava
 * @since 2020-10-30 13:19:02
 */
@Data
public class ApplyOut implements Serializable {
    private static final long serialVersionUID = 707434339869926507L;

    private Integer id;
    /**
     * 病人id
     */
    @NotNull(message = "申请的病人不能为空")
    private Integer patientId;

    private String patientName;
    /**
     * 创建的用户id
     */
    private Integer createUserId;

    private String doctorName;

    /**
     * 审核者的id
     */
    private Integer checkUserId;

    private String nurseName;
    /**
     * 出院描述
     */
    @NotBlank(message = "出院的描述不能为空")
    private String descript;
    /**
     * 0有审核,1 护士已经审核
     */
    private String status;
    /**
     * 创建时间
     */
    private Date createTime;

}